﻿<?php
$menus = array(
    'catalog' => 'Commandes de catalogues',
    'article' => 'Actualités',
    'presse' => 'Presse',
    'mail' => 'Mailing',
    'ventes' => 'Gestion des ventes',
    'choix' => 'Choix de la vente à éditer'
);
$controller = $this->request()->getControllerName();
?>

<div class="well sidebar-nav">
	<ul class="nav nav-list">
	    <?php foreach ($menus as $key => $label) : ?>
        <li<?php if ($controller == $key) : ?> class="active"<?php endif ?>><a href="<?php echo $this->baseUrl('admin/' . $key)?>/"><?php echo $label ?></a></li>
	    <?php endforeach ?>
	</ul>
</div>